package wms2010.gui.forms.ageClass;

import wms2010.model.controller.model.Discipline;

public class DisciplineViewModel {
		private Discipline discipline;
		
		public Discipline getDiscipline() {
			return discipline;
		}

		public DisciplineViewModel(Discipline discipline) {
			this.discipline = discipline;
		}
		
		@Override
		public String toString() {
			if(this.discipline==null) {
				return "";
			}
			return this.discipline.getName();
		}
	}
